x86: wire up VCPUOP_register_vcpu_time_memory_area for 32-bit guests
authorJan Beulich <jbeulich@suse.com>
Tue, 11 Oct 2022 13:01:36 +0000 (15:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 11 Oct 2022 13:01:36 +0000 (15:01 +0200)
commit3f4da85ca8816f6617529c80850eaddd80ea0f1f
tree17437ea9e77cd4e17b9e5c15cb61cf291291725a
parentb9560762392c01b3ee84148c07be8017cb42dbc9
x86: wire up VCPUOP_register_vcpu_time_memory_area for 32-bit guests

Forever sinced its introduction VCPUOP_register_vcpu_time_memory_area
was available only to native domains. Linux, for example, would attempt
to use it irrespective of guest bitness (including in its so called
PVHVM mode) as long as it finds XEN_PVCLOCK_TSC_STABLE_BIT set (which we
set only for clocksource=tsc, which in turn needs engaging via command
line option).

Fixes: a5d39947cb89 ("Allow guests to register secondary vcpu_time_info")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
master commit: b726541d94bd0a80b5864d17a2cd2e6d73a3fe0a
master date: 2022-09-29 14:47:45 +0200
xen/arch/x86/x86_64/domain.c